<?php defined( '_JEXEC' ) or die( 'Restricted access' );

?>
<table border="1" cellpadding="1" width="100%" cellspacing="1" >
    <tr align="center">
        <td>STT</td>
        <td>SỐ SIM</td>
        <td>NHÀ CUNG CẤP </td>
        <td>GIÁ BÁN</td>
        <td>ĐƠN VỊ</td>
        <td>ĐẶT HÀNG</td>
    </tr>
    <?php
    $i=1;
    foreach($this->list as $l):
    ?>
    <tr align="center">
        <td>

        <?php echo $i; ?>
        </td>
        <td >
            <a href="<?php echo $l->link; ?>"> <?php echo $l->sim_numb; ?></a>
        </td>
        <td>
            <?php echo $l->provider_name; ?>
        </td>
        <td>
            <?php echo $l->price; ?>
        </td>
        <td>
            <?php echo $l->curency; ?>
        </td>
        <td><a href="<?php echo $l->link; ?>"><img src="images/publish_f2.png" /></a></td>

    </tr>
    <?php
    $i++;
    endforeach;
    ?>
</table>